//
//  MenuInfo.m
//  EraPig
//
//  Created by Mac_Mini on 2021/2/25.
//

#import "MenuInfo.h"

@implementation MenuInfo

- (instancetype)initWithMenuID:(NSInteger)menuID menuName:(NSString *)menuName;{
    if (self = [super init]) {
        _menuID = menuID;
        _menuName = [menuName copy];
    }
    return self;
}
- (instancetype)initWithMenuID:(NSInteger)menuID menuName:(NSString *)menuName selected:(BOOL)selected{
    if (self = [super init]) {
        _menuID = menuID;
        _menuName = [menuName copy];
        _selected = selected;
    }
    return self;
}
- (instancetype)initWithMenuID:(NSInteger)menuID menuName:(NSString *)menuName menuSubData:(NSArray *)menuSubData{
    if (self = [super init]) {
        _menuID = menuID;
        _menuName = [menuName copy];
        _menuSubData = [menuSubData copy];
    }
    return self;
}
- (instancetype)initWithMenuID:(NSInteger)menuID menuName:(NSString *)menuName menuDesc:(NSString *)menuDesc{
    if (self = [super init]) {
        _menuID = menuID;
        _menuName = [menuName copy];
        _menuDesc = [menuDesc copy];
    }
    return self;
}

- (instancetype)initWithMenuID:(NSInteger)menuID menuName:(NSString *)menuName menuDesc:(NSString *)menuDesc menuIcon:(NSString *)menuIcon{
    if (self = [super init]) {
        _menuID = menuID;
        _menuName = [menuName copy];
        _menuDesc = [menuDesc copy];
        _menuIcon = [menuIcon copy];
    }
    return self;
}

- (instancetype)initWithMenuID:(NSInteger)menuID menuName:(NSString *)menuName menuDesc:(NSString *)menuDesc menuModel:(nullable id)menuModel{
    if (self = [super init]) {
        _menuID = menuID;
        _menuName = [menuName copy];
        _menuDesc = [menuDesc copy];
        _menuModel = menuModel;
    }
    return self;
}

- (instancetype)initWithMenuID:(NSInteger)menuID menuName:(NSString *)menuName menuModel:(id)menuModel{
    if (self = [super init]) {
        _menuID = menuID;
        _menuName = [menuName copy];
        _menuModel = menuModel;
    }
    return self;
}

- (instancetype)initWithMenuID:(NSInteger)menuID menuName:(NSString *)menuName menuIcon:(NSString *)menuIcon{
    if (self = [super init]) {
        _menuID = menuID;
        _menuName = [menuName copy];
        _menuIcon = [menuIcon copy];
    }
    return self;
}

- (instancetype)initWithMenuID:(NSInteger)menuID menuName:(NSString *)menuName menuIcon:(NSString *)menuIcon selected:(BOOL)selected{
    if (self = [super init]) {
        _menuID = menuID;
        _menuName = [menuName copy];
        _menuIcon = [menuIcon copy];
        _selected = selected;
    }
    return self;
}

- (instancetype)initWithMenuID:(NSInteger)menuID menuName:(NSString *)menuName menuIcon:(NSString *)menuIcon menuSelectedIcon:(NSString *)menuSelectedIcon{
    if (self = [super init]) {
        _menuID = menuID;
        _menuName = [menuName copy];
        _menuIcon = [menuIcon copy];
        _menuSelectedIcon = [menuSelectedIcon copy];
    }
    return self;
}

- (instancetype)initWithMenuID:(NSInteger)menuID menuName:(NSString *)menuName menuIcon:(NSString *)menuIcon menuModel:(nullable id)menuModel{
    if (self = [super init]) {
        _menuID = menuID;
        _menuName = [menuName copy];
        _menuIcon = [menuIcon copy];
        _menuModel = menuModel;
    }
    return self;
}
@end
